﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ESMAM.Model.SYS
{
	/// <summary>
	/// 系统用户
	/// </summary>
	[Serializable]
	public partial class sys_user
	{
		public sys_user()
		{
			this.role = 0;
		}

		/// <summary>
		/// 主键ID
		/// </summary>
		public int id { get;set; }

		/// <summary>
		/// 登录名
		/// </summary>
		public string loginname { get;set; }

		/// <summary>
		/// 密码
		/// </summary>
		public string passwd { get;set; }

		/// <summary>
		/// 真实名
		/// </summary>
		public string realname { get;set; }

		/// <summary>
		/// 昵称
		/// </summary>
		public string nickname { get;set; }

		/// <summary>
		/// 性别（0男，1女）
		/// </summary>
		public int gender { get;set; }

		/// <summary>
		/// 生日
		/// </summary>
		public DateTime? birthday { get;set; }

		public string office_phone { get;set; }

		/// <summary>
		/// 邮箱地址
		/// </summary>
		public string email { get;set; }

		/// <summary>
		/// 状态(0启用1禁用)
		/// </summary>
		public int state { get;set; }

		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime added { get;set; }

		/// <summary>
		/// 添加用户
		/// </summary>
		public string addeduid { get;set; }

		/// <summary>
		/// 最后修改时间
		/// </summary>
		public DateTime lastmodified { get;set; }

		/// <summary>
		/// 最后修改用户
		/// </summary>
		public string lastmodifieduid { get;set; }

		public string mobile_phone { get;set; }

		public int role { get;set; }

        /// <summary>
        /// 使用语言
        /// </summary>
        public Lang shiyyy { get; set; }

    }
}
